<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>管道工程计算系统</title>
  <!-- 允许从本地开发服务器和 React DevTools 服务器加载脚本 -->
  <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' http://localhost:8097;">
</head>
<body>
  <!-- React DevTools 连接脚本，仅在开发环境中加载 -->
  <script>
    if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
      const script = document.createElement('script');
      script.src = 'http://localhost:8097';
      document.head.appendChild(script);
    }
  </script>
  <div id="root"></div>
</body>
</html>